package gsw.common.ui;

import android.app.Activity;
import android.os.Bundle;

import java.io.IOException;
import java.io.InputStream;

import gsw.common.R;
import gsw.tool.ui.BigView;

public class ActivityBigView extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_big_view);
        BigView bigView = findViewById(R.id.bigView);
        try {
            InputStream is = getAssets().open("img/big.png");
            bigView.setImage(is);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
